<template>
  <div>
    <div class="page-header col-xs-offset-2 col-xs-8">
      <h2>Vue路由测试</h2>
    </div>
    <!-- 导航区域 -->
    <div class="col-xs-2 col-xs-offset-2">
      <router-link class="list-group-item" active-class="active" to="/about"
        >About</router-link
      >
      <router-link class="list-group-item" active-class="active" to="/home"
        >Home</router-link
      >
    </div>
    <!-- 展示区 -->
    <div class="col-xs-6 panel panel-body panel-primary">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>
